import request from '@/utils/request'

// 查询项目投标执行列表
export function listBid_project_process(query) {
  return request({
    url: '/business/my_bid_project_process/list',
    method: 'get',
    params: query
  })
}

// 查询项目投标执行列表,仅仅列表
export function listonlyBid_project_process(query) {
  return request({
    url: '/business/my_bid_project_process/process/list',
    method: 'get',
    params: query
  })
}

// 查询项目投标执行详细
export function getBid_project_process(processId) {
  return request({
    url: '/business/my_bid_project_process/' + processId,
    method: 'get'
  })
}

// 查询项目投标执行详细
export function getBid_project_process_step(projectId) {
  return request({
    url: '/business/my_bid_project_process/get_step_info/' + projectId,
    method: 'get'
  })
}

// 新增项目投标执行
export function addBid_project_process(data) {
  return request({
    url: '/business/my_bid_project_process',
    method: 'post',
    data: data
  })
}

// 新增项目投标执行
export function checkBid_project_process(data) {
  return request({
    url: '/business/my_bid_project_process/check',
    method: 'post',
    data: data
  })
}

// 激活项目投标执行
export function activeBid_project_process(data) {
  return request({
    url: '/business/my_bid_project_process/active',
    method: 'post',
    data: data
  })
}

// 修改项目投标执行
export function updateBid_project_process(data) {
  return request({
    url: '/business/my_bid_project_process',
    method: 'put',
    data: data
  })
}

// 删除项目投标执行
export function delBid_project_process(processId) {
  return request({
    url: '/business/my_bid_project_process/' + processId,
    method: 'delete'
  })
}
